package com.ucode.model.hrm.convert;


import com.ucode.model.hrm.HrmAttendanceRecord;
import com.ucode.model.hrm.form.HrmAttendanceRecordCreateForm;
import com.ucode.model.hrm.vo.HrmAttendanceRecordVO;
import com.ucode.tool.base.Paginator;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface HrmAttendanceRecordConvert {

    HrmAttendanceRecordConvert INSTANCE = Mappers.getMapper(HrmAttendanceRecordConvert.class);

    HrmAttendanceRecord convert(HrmAttendanceRecordCreateForm form);

    HrmAttendanceRecordVO convert(HrmAttendanceRecord bean);

    Paginator<HrmAttendanceRecordVO> convertPage(Paginator<HrmAttendanceRecord> page);

     List<HrmAttendanceRecordVO> convertEcmsOrderVOList(List<HrmAttendanceRecord> list);


}
